package com.biz.primus.model.order.vo.request;

import com.biz.primus.model.order.enums.OrderState;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * OrderCodeAndStateVO
 *
 * @author Tiger Feng
 * @date 2017年11月27日
 */
@Data
@NoArgsConstructor
@ApiModel("订单请求模型")
public class OrderCodeAndStateVO implements Serializable {
    private static final long serialVersionUID = -4918693462337057703L;
    @ApiModelProperty(value = "订单编号", required = true)
    private String orderCode;
    @ApiModelProperty(value = "订单状态(WAIT_PAY:待付款," +
            "    WAIT_SEND:待发货," +
            "    WAIT_RECEIVE:待收货," +
            "    WAIT_EVALUATION:待评价," +
            "    ORDER_FINISHED:订单完成," +
            "    CANCELED:取消," +
            "    AFTER_SALE:售后中," +
            "    FINISHED_AFTER_SALE:售后完成)",
            required = true)
    private OrderState state;
}
